package com.jindi.appuser.controller;

import com.jindi.appuser.common.ServerResponse;
import com.jindi.appuser.service.AppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("app/info")
public class AppController {

    @Autowired
    private AppService appService;

    @PostMapping("appInfo")
    ServerResponse getPrice(String os){
        return appService.getPrice(os);
    }

}
